Java Application Deployment
Step 1: Creation of branch
Create new branch tagging to production code.
Step 2: Manifest File Configuration
Configure SAP service bindings in the manifest.yaml file.
Step 3: DB Configuration
Change the database configuration in the application.properties file.
Step 4: Profile selection in application.properties
Uncomment line no 7 in application.properties file under SAP Configuration, make sure all lines under Azure Configuration are commented.
Step 5: Deploy WorkForms Java Application
cf api <api-endpoint>
cf login
cf push
SAP CF DEPLOYMENT WITH DOCUMENT STORE
Create a Object Store service instance of plan s3-standard.
Replace workforms_object_store at line no 10 in manifest.yml file with the created instance name.
Uncomment commons-document-model dependency from pom.xml file.
Uncomment line no 9 in application.properties file under SAP Configuration, make sure all lines under Azure Configuration are commented.
Frontend Deployment Steps
Build the Application:
npm run build
Log In to SBX BTP account:
cf8 login -a https://api.cf.eu10-004.hana.ondemand.com
Deploy the Application:
cf8 push
View deployed Applications:
cf8 apps